package com.dragon.modules.yuegou.service.member;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dragon.modules.yuegou.entity.member.BenefitEntity;
import com.dragon.modules.yuegou.enums.member.TemplateRightsRightsType;
import com.dragon.modules.yuegou.response.MemberBenefitResponse;

import java.util.List;

/**
 * 商圈权益表 服务接口
 *
 * @author pbuilder generated
 * @date 2021-12-15 09:38:01
 * @version 2.0
 */
public interface BenefitService extends IService<BenefitEntity> {

    /**
     * 检查权益是否绑定等级
     * @param rightsId
     * @param templateRightsRightsType
     * @return
     */
    List<String> checkBenefit(String rightsId, TemplateRightsRightsType templateRightsRightsType);

    MemberBenefitResponse getMemberBenefit(String busdId);
}